package com.assignwork.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import java.time.LocalDateTime;
import org.springblade.core.tool.utils.DateUtil;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * DynamicFormDataVO
 */
@Data
@ApiModel(value = "DynamicFormDataVO对象", description = "")
public class DynamicFormDataVO {

    /** 主键id;主键id */
    @JsonSerialize(using = ToStringSerializer.class)
    @ApiModelProperty(value = "主键id")
    private Long id;
    
    /** 创建时间 */
    @DateTimeFormat(pattern = DateUtil.PATTERN_DATETIME)
    @JsonFormat(pattern = DateUtil.PATTERN_DATETIME)
    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;
    
    /** 更新时间 */
    @DateTimeFormat(pattern = DateUtil.PATTERN_DATETIME)
    @JsonFormat(pattern = DateUtil.PATTERN_DATETIME)
    @ApiModelProperty(value = "更新时间")
    private LocalDateTime updateTime;
    
    /** 表单ID */
    @JsonSerialize(using = ToStringSerializer.class)
    @ApiModelProperty(value = "表单ID")
    private Long formId;
    
    /** 行 */
    @ApiModelProperty(value = "行")
    private String dataColumn;
    
    /** 列 */
    @ApiModelProperty(value = "列")
    private String dataRow;
    
    /** 数据值 */
    @ApiModelProperty(value = "数据值")
    private String dataValue;

    private Integer dataIndex;
    
}